package cn.yunhe.dao;

import cn.yunhe.pojo.Admin;

public interface AdminMapper {
    /**
     * 添加管理员
     * @param admin
     * @return
     */
    int addAdmin(Admin admin);

    /**
     * 管理员登陆
     * @param admin
     * @return
     */
    Admin loginAdmin(Admin admin);

    /**
     * 登陆检查
     * @param adminName
     * @return
     */
    Admin checkAdmin(String adminName);
}
